package cn.com.cifi.mars.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

/**
 * <p>
 * 版本日志表
 * </p>
 *
 * @author plx
 * @since 2020-02-27
 */
@TableName("t_version_log")
public class VersionLog implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.INPUT)
    private String id;

    /**
     * 区域id
     */
    private String regionId;

    /**
     * 项目id
     */
    private String projectId;

    /**
     * 分期id
     */
    private String projectfId;

    /**
     * 模块类型
     */
    private String moduleType;

    /**
     * 事件【手动新建/编辑保存/手动删除/系统生成/系统刷新/发起审批/作废审批/审批通过/审批未通过】
     */
    private String event;

    /**
     * 版本id
     */
    private String versionId;

    /**
     * 版本名称
     */
    private String versionName;

    /**
     * 操作前状态
     */
    private String beforeState;

    /**
     * 操作后状态
     */
    private String afterState;

    /**
     * 变更来源类型【1 esb推送/2货值变动/2供货变动】
     */
    private String modifySourceType;

    /**
     * 变更来源实例id【esb实例id/货值版本id/供货版本id】
     */
    private String modifySourceId;

    /**
     * 操作人【sys/用户标识】
     */
    private String operationBy;

    /**
     * 操作时间
     */
    private LocalDateTime operationTime;

    /**
     * 记录标题【简要备注】
     */
    private String title;

    /**
     * 描述/备注
     */
    private String content;

    /**
     * 是否删除（0-否；1-是）
     */
    private Integer isDelete;

    /**
     * 创建人员
     */
    private String createBy;

    private LocalDateTime createTime;

    /**
     * 变更人员
     */
    private String updateBy;

    private LocalDateTime updateTime;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }
    public String getRegionId() {
        return regionId;
    }

    public void setRegionId(String regionId) {
        this.regionId = regionId;
    }
    public String getProjectId() {
        return projectId;
    }

    public void setProjectId(String projectId) {
        this.projectId = projectId;
    }
    public String getProjectfId() {
        return projectfId;
    }

    public void setProjectfId(String projectfId) {
        this.projectfId = projectfId;
    }
    public String getModuleType() {
        return moduleType;
    }

    public void setModuleType(String moduleType) {
        this.moduleType = moduleType;
    }
    public String getEvent() {
        return event;
    }

    public void setEvent(String event) {
        this.event = event;
    }
    public String getVersionId() {
        return versionId;
    }

    public void setVersionId(String versionId) {
        this.versionId = versionId;
    }
    public String getVersionName() {
        return versionName;
    }

    public void setVersionName(String versionName) {
        this.versionName = versionName;
    }
    public String getBeforeState() {
        return beforeState;
    }

    public void setBeforeState(String beforeState) {
        this.beforeState = beforeState;
    }
    public String getAfterState() {
        return afterState;
    }

    public void setAfterState(String afterState) {
        this.afterState = afterState;
    }
    public String getModifySourceType() {
        return modifySourceType;
    }

    public void setModifySourceType(String modifySourceType) {
        this.modifySourceType = modifySourceType;
    }
    public String getModifySourceId() {
        return modifySourceId;
    }

    public void setModifySourceId(String modifySourceId) {
        this.modifySourceId = modifySourceId;
    }
    public String getOperationBy() {
        return operationBy;
    }

    public void setOperationBy(String operationBy) {
        this.operationBy = operationBy;
    }
    public LocalDateTime getOperationTime() {
        return operationTime;
    }

    public void setOperationTime(LocalDateTime operationTime) {
        this.operationTime = operationTime;
    }
    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }
    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }
    public Integer getIsDelete() {
        return isDelete;
    }

    public void setIsDelete(Integer isDelete) {
        this.isDelete = isDelete;
    }
    public String getCreateBy() {
        return createBy;
    }

    public void setCreateBy(String createBy) {
        this.createBy = createBy;
    }
    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }
    public String getUpdateBy() {
        return updateBy;
    }

    public void setUpdateBy(String updateBy) {
        this.updateBy = updateBy;
    }
    public LocalDateTime getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(LocalDateTime updateTime) {
        this.updateTime = updateTime;
    }

    @Override
    public String toString() {
        return "VersionLog{" +
        "id=" + id +
        ", regionId=" + regionId +
        ", projectId=" + projectId +
        ", projectfId=" + projectfId +
        ", moduleType=" + moduleType +
        ", event=" + event +
        ", versionId=" + versionId +
        ", versionName=" + versionName +
        ", beforeState=" + beforeState +
        ", afterState=" + afterState +
        ", modifySourceType=" + modifySourceType +
        ", modifySourceId=" + modifySourceId +
        ", operationBy=" + operationBy +
        ", operationTime=" + operationTime +
        ", title=" + title +
        ", content=" + content +
        ", isDelete=" + isDelete +
        ", createBy=" + createBy +
        ", createTime=" + createTime +
        ", updateBy=" + updateBy +
        ", updateTime=" + updateTime +
        "}";
    }
}
